from flask import Blueprint

my_info = Blueprint('my_info', __name__)

from mylink.views import *

my_info.add_url_rule('/detail/', view_func=MyInfo.as_view('my_detail'))
my_info.add_url_rule('/message/', view_func=GetMessage.as_view('get_message'))
